package com.taotao.aop;

/**
 * @Author: wangjin
 * @CreateTime: 2022-07-27  18:12
 */
public class Test01 {
    public static int tryTest(int i){
        try {

            System.out.println("try里面的语句执行了！");
            return 55;

        }catch (Exception e){
            System.out.println("Exception里面的语句执行了！");
            e.printStackTrace();
        }finally {

            System.out.println("final执行了");
        }
        return 0;
    }

    public static void main(String[] args) {
      int u=  tryTest(1);
        System.out.println(u);
    }
}
